package com.ruoyi.workbench.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysDept;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 包含节点的所有父节点
 *
 * @author hanjiafeng
 * @date 2021-02-24
 */
@ToString
public class WbWholeUnit extends BaseEntity{
    @Getter
    @Setter
    @Excels({
            @Excel(name = "三级单元", targetAttr = "deptName", type = Excel.Type.EXPORT),
    })
    private SysDept unit3;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "营业部名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
    })
    private SysDept unit4;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "包区名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
    })
    private SysDept unit5;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "网格名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
    })
    private SysDept unit6;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "自然庄名称", targetAttr = "unitName", type = Excel.Type.EXPORT),
    })
    private WbLeafUnit unit7;
}
